package com.ronghui.cash.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author wiki
 * @since 2017-12-06
 */
public class Orders extends Model<Orders> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 借款金额
     */
	private BigDecimal money;
    /**
     * 实际到账金额
     */
	@TableField("actual_money")
	private BigDecimal actualMoney;
    /**
     * 借款天数
     */
	private Integer day;
    /**
     * 总期数
     */
	private Integer periods;
    /**
     * 订单时间
     */
	private String date;
    /**
     * 利率
     */
	@TableField("interest_rate")
	private BigDecimal interestRate;
    /**
     * 逾期利率
     */
	@TableField("overdue_rate")
	private BigDecimal overdueRate;
	@TableField("user_id")
	private Long userId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private String createTime;
    /**
     * 状态（0：已拒绝，1：还款中，2：已结清）
     */
	private Integer status;
    /**
     * 过程状态（0：已拒绝，1：待审核，2：待放款，3：已放款）
     */
	@TableField("process_status")
	private Integer processStatus;
    /**
     * 放款状态
     */
	@TableField("settlement_status")
	private Integer settlementStatus;
    /**
     * 放款单号
     */
	@TableField("settlement_id")
	private Integer settlementId;
    /**
     * 审核通过操作人
     */
	@TableField("pass_audit")
	private Long passAudit;
    /**
     * 审核通过时间
     */
	@TableField("pass_audit_time")
	private String passAuditTime;
    /**
     * 审核不通过操作人
     */
	@TableField("nopass_auditor")
	private Long nopassAuditor;
    /**
     * 审核不通过时间
     */
	@TableField("nopass_audit_time")
	private String nopassAuditTime;
    /**
     * 放款审核人
     */
	@TableField("loan_auditor")
	private Long loanAuditor;
    /**
     * 放款审核时间
     */
	@TableField("loan_audit_time")
	private String loanAuditTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public BigDecimal getActualMoney() {
		return actualMoney;
	}

	public void setActualMoney(BigDecimal actualMoney) {
		this.actualMoney = actualMoney;
	}

	public Integer getDay() {
		return day;
	}

	public void setDay(Integer day) {
		this.day = day;
	}

	public Integer getPeriods() {
		return periods;
	}

	public void setPeriods(Integer periods) {
		this.periods = periods;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public BigDecimal getOverdueRate() {
		return overdueRate;
	}

	public void setOverdueRate(BigDecimal overdueRate) {
		this.overdueRate = overdueRate;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getProcessStatus() {
		return processStatus;
	}

	public void setProcessStatus(Integer processStatus) {
		this.processStatus = processStatus;
	}

	public Integer getSettlementStatus() {
		return settlementStatus;
	}

	public void setSettlementStatus(Integer settlementStatus) {
		this.settlementStatus = settlementStatus;
	}

	public Integer getSettlementId() {
		return settlementId;
	}

	public void setSettlementId(Integer settlementId) {
		this.settlementId = settlementId;
	}

	public Long getPassAudit() {
		return passAudit;
	}

	public void setPassAudit(Long passAudit) {
		this.passAudit = passAudit;
	}

	public String getPassAuditTime() {
		return passAuditTime;
	}

	public void setPassAuditTime(String passAuditTime) {
		this.passAuditTime = passAuditTime;
	}

	public Long getNopassAuditor() {
		return nopassAuditor;
	}

	public void setNopassAuditor(Long nopassAuditor) {
		this.nopassAuditor = nopassAuditor;
	}

	public String getNopassAuditTime() {
		return nopassAuditTime;
	}

	public void setNopassAuditTime(String nopassAuditTime) {
		this.nopassAuditTime = nopassAuditTime;
	}

	public Long getLoanAuditor() {
		return loanAuditor;
	}

	public void setLoanAuditor(Long loanAuditor) {
		this.loanAuditor = loanAuditor;
	}

	public String getLoanAuditTime() {
		return loanAuditTime;
	}

	public void setLoanAuditTime(String loanAuditTime) {
		this.loanAuditTime = loanAuditTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
